﻿using System;

namespace Inaction.Mapping
{
    public static class PropertyKeyWord
    {
        public static readonly string Creater = "Creater";
        public static readonly String CreateTime = "CreateTime";
        public static readonly String UpdateTime = "UpdateTime";
        public static readonly String Updater = "Updater";
        public static readonly String Deleted = "Deleted";
        public static bool IsKeyWord(string name)
        {
            return name.Equals(CreateTime, StringComparison.OrdinalIgnoreCase)
                 || name.Equals(Creater, StringComparison.OrdinalIgnoreCase)
                || name.Equals(UpdateTime, StringComparison.OrdinalIgnoreCase)
                || name.Equals(Updater, StringComparison.OrdinalIgnoreCase)
                || name.Equals(Deleted, StringComparison.OrdinalIgnoreCase);
        }
    }
}
